<!DOCTYPE html>
<html>

    <head>
        <meta charset="utf-8" />
        <title>用户管理</title>
        <link rel="stylesheet" href="__PUBLIC__/Leader/css/bootstrap.css">
        <link rel="stylesheet" type="text/css" href="__PUBLIC__/Leader/css/index.css" />
        <style type="text/css">
            .order-list a {
                position: relative;
            }
            .order-list span {
                float: right;
                margin-right: 20px;
            }
            .pagination ul {
                display: inline-block;
                margin-left: 0;
                margin-bottom: 0;
                -webkit-border-radius: 3px;
                -moz-border-radius: 3px;
                border-radius: 3px;
                -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
                box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            }
            .pagination ul > li {
                display: inline;
            }
            .pagination ul > li > a, .pagination ul > li > span {
                float: left;
                padding: 0 14px;
                line-height: 38px;
                text-decoration: none;
                background-color: #ffffff;
                border: 1px solid #dddddd;
                border-left-width: 0;
            }
        </style>
    </head>
    <body>
        <include file="Index/head"/>
        <div class="wrapper main-wrapper wrapper-content ">
            <div class="page-menubar">
                <div class="menu-header">用户管理</div>
                <ul class="order-list">
                    <li class="active">
                        <a href="{:U('User/userinfo')}">用户信息</a>
                    </li>
                    <li>
                        <a href="{:U('User/sijiinfo')}">司机信息</a>
                    </li>

                    <li>
                        <a href="{:U('User/fankui_list')}">用户反馈</a>
                    </li>
                </ul>
            </div>
            <!--主要内容-->
            <div class="page-content" style="display: block;">
                <!--内容标题-->
                <div class="page-heading" style="position:relative;">
                    <h2>用户列表</h2>
                </div>
                <div class="page-toolbar row m-b-sm m-t-sm">
                    <div class="col-sm-6 pull-right">
                        <form action="" method="get">
                            <div class="input-group">
                                <input type="text" class="form-control input-sm" name="keyword" value="" placeholder="可搜索姓名/手机号">                                <span class="input-group-btn">
                                    <button class="btn btn-sm btn-primary" type="submit"> 搜索</button>
                                </span>
                            </div>
                        </form>
                    </div>
                </div>
                <div class="panel panel-default" style="margin-top: 20px;">
                    <div class="panel-body">
                        <table class="table table-hover table-responsive">
                            <thead class="navbar-inner" style="background: #F8F8F8;">
                                <tr>
                                    <th>#</th>
                                    <th>头像</th>
                                    <th>昵称</th>
                                    <th>姓名</th>
                                    <th>电话</th>
                                    <th>地址</th>
                                    <th>余额</th>
                                    <th style="min-width:64px;">操作</th>
                                </tr>
                            </thead>
                            <tbody id="trcontent">
                            <volist name="us" id="vo">
                                <tr>
                                    <td>{$vo.uid}</td>
                                    <td><img src='{$vo.headurl|default="/timg.jpg"}' style='width:60px;height:60px;'/></td>
                                    <td>{$vo['nickname']|is_json}</td>
                                    <td>{$vo.name}</td>
                                    <td>{$vo.tel}</td>
                                    <td>{$vo.openid}</td>
                                    <td>{$vo.yue}</td>
                                    <td>
                                        <a href="__CONTROLLER__/userxg/id/{$vo.uid}"><i class="glyphicon glyphicon-pencil"></i></a>
                                        <a onclick="return confirm('正在删除用户，请确认')"href="__CONTROLLER__/del/id/{$vo.uid}"><i class="glyphicon glyphicon-remove-sign"></i></a>

                                    </td>
                                </tr>

                            </volist>
                            </tbody>
                        </table>
                    </div>
                        {$page}
                </div>
            </div>
        </div>
    </body>
    <script src="__PUBLIC__/Leader/js/jquery.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Leader/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
</html>